﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace xxl_job {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "xxl_job_log_report", DisableSyncStructure = true)]
	public partial class XxlJobLogReport {

		[JsonProperty, Column(Name = "id", IsPrimary = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 执行失败-日志数量
		/// </summary>
		[JsonProperty, Column(Name = "fail_count")]
		public int FailCount { get; set; } = 0;

		/// <summary>
		/// 运行中-日志数量
		/// </summary>
		[JsonProperty, Column(Name = "running_count")]
		public int RunningCount { get; set; } = 0;

		/// <summary>
		/// 执行成功-日志数量
		/// </summary>
		[JsonProperty, Column(Name = "suc_count")]
		public int SucCount { get; set; } = 0;

		/// <summary>
		/// 调度-时间
		/// </summary>
		[JsonProperty, Column(Name = "trigger_day", DbType = "datetime")]
		public DateTime? TriggerDay { get; set; }

	}

}
